//全局functions